//
//  YCCustomShareView.h
//  YCSchool
//
//  Created by Yanglixia on 16/5/10.
//  Copyright © 2016年 yanglinxia. All rights reserved.
//  分享视图

#import <FXBlurView/FXBlurView.h>

@interface YCCustomShareCell : UICollectionViewCell
@property (nonatomic,readonly) UIImageView *imageView;
@property (nonatomic,readonly) UILabel *label;
@property (nonatomic,readonly) BOOL updatedConstraints;
@end

extern NSString * const YCCustomShareItemImageKey;
extern NSString * const YCCustomShareItemTitleKey;

@class YCCustomShareView;

typedef void (^ YCCustomShareViewSendBlock)(YCCustomShareView *view,NSDictionary *item);
typedef void (^ YCCustomShareViewCancelBlock)();


@interface YCCustomShareView : FXBlurView

- (instancetype)initWithItems:(NSArray *)items;

- (void)showWithSendBlock:(YCCustomShareViewSendBlock)block cancel:(YCCustomShareViewCancelBlock)cancel;

@end
